package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverMarketingSituation {
    online_ride_fixed(1, "接线上订单固定金额奖励"),
    online_ride_avg(2, "接线上订单后随机红包奖励"),
    wxmina_recommend(3, "小程序推广"),
    app_recommend(4, "app推广"),
    recommend_and_first_order(5, "推广并完成首单"),
    scan_recommend(6, "扫码推广"),
    wxmina_scan_recommend(7, "小程序扫码推广");

    @EnumValue
    private final int code;
    private final String desc;

    DriverMarketingSituation(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
